﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UDFReportList.aspx.cs"
    Inherits="WMS6.Web.Analytics.UDFReportList" %>

<%@ Register Assembly="FastReport" Namespace="FastReport.Web" TagPrefix="cc1" %>
<%@ Register Src="../UserControls/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/UDFReportCtrl.ascx" TagName="UDFReportCtrl" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>UDFReportList</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
    
      window.onload = function(){
            initListPage();
        }
        
        function dd(value)
        {
           document.getElementById("hdnReportID").value = value;
          __doPostBack('<%=aaa.ClientID.Replace('_','$')%>',''); 
        }
        //弹出 打印 入库验收单 的窗口
        function popPrintReport()
        {      
            __doPostBack('<%=printA.ClientID.Replace('_','$')%>',''); 
            var ReportID = document.getElementById("hdnReportID").value;
            document.getElementById('Udfiframe').src="../Common/PrintReport.aspx?rtype=UDFREPORT&udfreportid=" + escape(ReportID);  
       return false;
        }     
        
        function Get()
        {
         alert("1");
              
        }  
    </script>

</head>
<body>
    <form id="F15131" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
          <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
        <div id="div_List_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblUDFReportList" runat="server" CssClass="label_header" Text="报表列表"
                            meta:resourcekey="lblUDFReportList"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnRefresh" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnRefresh%>"
                            OnClick="btnRefresh_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnPrint" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnEncasePrint%>"
                          OnClick="btnPrint_Click" />
                           <a id=printA  runat="server" onserverclick="btnPrint_Click"></a>
                    </td>
                </tr>
            </table>
        </div>
        <div class="blank8">
        </div>
        <div id="div_List">
            <div id="div_List_msg">
                <asp:Label ID="lblMsg" runat="server" CssClass="label_message"></asp:Label>
            </div>
            <div style="margin-top: 0px; margin-top: 10px; width: 99%">
                <div style="width: 200px; float: left;" id="LeftDiv">
                    <div id="div_query1" style="height: 500px;">
                        <div id="SideLeftMenu1">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="200">
                                        <a onserverclick="ReportLoad" id="aaa" runat="server"></a>
                                        <div id="SideLeftMenu" runat="server">
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div style="float: left; margin-left: 10px!important; margin-left: 0;" id="rightDiv">
                    <div id="div_query" style="height: 500px;">
                                             
                        <uc2:UDFReportCtrl ID="UDFReportCtrl1" runat="server" Row="3" Heigth="50px" />
                                   <br />         
                         <iframe width="870px" height="900px" runat="server" id="Udfiframe" border="0"  method="Post"  marginwidth="0"  marginheight="0" frameborder="no" scrolling="no"></iframe>
                                    
                    </div>
                </div>
                <div style="clear: both;">
                </div>
                </div>
                </div>
                </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            <input type="hidden" runat="server" id="hdnFrom" />
            <input type="hidden" runat="server" id="hdnReportID" />
             <input type="hidden" runat="server" id="hdnStatus" />
        </div>
    </form>
</body>
</html>
